 <?php
$filename = 'newsletter';
header('Content-type: application/vnd.xls');
header('Content-Disposition: attachment; filename="' . $filename . '.xls"');

echo $usersData;


?>

